package text;


import java.util.List;
import java.util.Map;

import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.lankystar.sos.service.ISosOrderInterface;

public class SosOrder {

	ApplicationContext atx = null;
	ISosOrderInterface sosInterface = null;
	@Before
	public void inti(){
		atx = new ClassPathXmlApplicationContext("applicationContext.xml");
		sosInterface =  (ISosOrderInterface) atx.getBean("sosOrderInterface");
	}
	@Test
	public void selectUserAndResp() {
		Map<String, Object> oblist = sosInterface.queryUserAndRespMethod(1);
	}

}
